using System.ComponentModel.Composition;
using MediaOwl.Common.Dialog;

namespace MediaOwl.ViewModels
{
    [Export, PartCreationPolicy(CreationPolicy.NonShared)]
    public sealed class InfoDialogViewModel : DialogScreen
    {
        protected override void OnInitialize()
        {
            base.OnInitialize();
            DisplayName = "MediaOwl Info";
        }

        public void Ok()
        {
            DialogMessageResult = DialogResult.Ok;
            TryClose();
        }
    }
}